package com.world.rickcloudendpoint.models.mongo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.bson.types.ObjectId;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * @description: 原始报文样本
 * @author: jlsong
 * @date: 2022/01/22 20:05:17
 * @version: 1.0
 */
@Data
@Document("rc_message")
@ApiModel(value = "messageDoc", description = "原始报文样本")
public class MessageDoc {

    @Id
    private ObjectId _id;

    @ApiModelProperty("数据类型编号")
    private String typeSerial;

    @ApiModelProperty("数据所属实验号")
    private String experimentNo;

    @ApiModelProperty("报文发送时间-年")
    private int sendYear;

    @ApiModelProperty("报文发送时间-月")
    private short sendMonth;

    @ApiModelProperty("报文发送时间-日")
    private short sendDay;

    @ApiModelProperty("报文发送时间-小时")
    private short sendHour;

    @ApiModelProperty("报文发送时间-分")
    private short sendMin;

    @ApiModelProperty("报文发送时间-秒")
    private short sendSec;

    @ApiModelProperty("站号，来源")
    private String stationNo;

    @ApiModelProperty("批号")
    private String batchNo;

    @ApiModelProperty("经度，10e-6，单位：度")
    private long lon;

    @ApiModelProperty("纬度，10e-6，单位：度")
    private long lat;

    @ApiModelProperty("高度，10e-2，单位：米")
    private long alt;

    @ApiModelProperty("航速，10e-2，单位：km/h")
    private int speed;

    @ApiModelProperty("航向，10e-2，单位：度")
    private int heading;

    @ApiModelProperty("目标种类")
    private String targetType;

    @ApiModelProperty("目标属性")
    private String targetAttr;

    @ApiModelProperty("目标识别号")
    private String targetSerial;
}
